package view;

import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JTextField;
import util.Comandos;
import controller.TestController;
import java.awt.Font;
import javax.swing.JButton;

public class TestFrame extends JDialog {

	private static final long serialVersionUID = 1L;
	private JLabel jLabel0;
	private JTextField metrosTextField;
	private JLabel jLabel1;
	private JLabel jLabel2;
	private JLabel vo2MaxLabel;
	private JLabel jLabel4;
	private JLabel velLabel;
	private JLabel jLabel6;
	private JLabel jLabel8;
	private JLabel jLabel10;
	private JLabel jLabel12;
	private JLabel jLabel14;
	private JLabel jLabel16;
	private JLabel jLabel17;
	private JLabel jLabel18;
	private JLabel jLabel19;
	private JLabel jLabel20;
	private JLabel jLabel21;
	private JLabel jLabel22;
	private JLabel jLabel23;
	private JLabel jLabel24;
	private JLabel base200;
	private JLabel n1_200;
	private JLabel n2_200;
	private JLabel n3_200;
	private JLabel n4_200;
	private JLabel base300;
	private JLabel n1_300;
	private JLabel n2_300;
	private JLabel n3_300;
	private JLabel n4_300;
	private JLabel base400;
	private JLabel n1_400;
	private JLabel n2_400;
	private JLabel n3_400;
	private JLabel n4_400;
	private JLabel base500;
	private JLabel n1_500;
	private JLabel n2_500;
	private JLabel n3_500;
	private JLabel n4_500;
	private JLabel base600;
	private JLabel n1_600;
	private JLabel n2_600;
	private JLabel n3_600;
	private JLabel n4_600;
	private JLabel base700;
	private JLabel n1_700;
	private JLabel n2_700;
	private JLabel n3_700;
	private JLabel n4_700;
	private JLabel base800;
	private JLabel n1_800;
	private JLabel n2_800;
	private JLabel n3_800;
	private JLabel n4_800;
	private JLabel base900;
	private JLabel n1_900;
	private JLabel n2_900;
	private JLabel n3_900;
	private JLabel n4_900;
	private JLabel base1000;
	private JLabel n1_1000;
	private JLabel n2_1000;
	private JLabel n3_1000;
	private JLabel n4_1000;
	private JLabel jLabel3;
	private JLabel jLabel70;
	private JButton btnCap;
	
	public TestFrame(PrincipalFrame principal) {
		setResizable(false);
		initComponents();
	}

	private void initComponents() {
		setTitle("Test de Cooper");
		getContentPane().setLayout(null);
		getContentPane().add(getJLabel6());
		getContentPane().add(getJLabel2());
		getContentPane().add(getJLabel8());
		getContentPane().add(getJLabel10());
		getContentPane().add(getJLabel12());
		getContentPane().add(getJLabel14());
		getContentPane().add(getJLabel25());
		getContentPane().add(getJLabel30());
		getContentPane().add(getJLabel35());
		getContentPane().add(getJLabel40());
		getContentPane().add(getJLabel45());
		getContentPane().add(getJLabel55());
		getContentPane().add(getJLabel60());
		getContentPane().add(getJLabel65());
		getContentPane().add(getJLabel16());
		getContentPane().add(getJLabel17());
		getContentPane().add(getJLabel18());
		getContentPane().add(getJLabel24());
		getContentPane().add(getJLabel19());
		getContentPane().add(getJLabel20());
		getContentPane().add(getJLabel21());
		getContentPane().add(getJLabel22());
		getContentPane().add(getJLabel50());
		getContentPane().add(getJLabel26());
		getContentPane().add(getJLabel36());
		getContentPane().add(getJLabel41());
		getContentPane().add(getJLabel46());
		getContentPane().add(getJLabel56());
		getContentPane().add(getJLabel61());
		getContentPane().add(getJLabel31());
		getContentPane().add(getJLabel66());
		getContentPane().add(getJLabel51());
		getContentPane().add(getJLabel32());
		getContentPane().add(getJLabel37());
		getContentPane().add(getJLabel42());
		getContentPane().add(getJLabel47());
		getContentPane().add(getJLabel67());
		getContentPane().add(getJLabel57());
		getContentPane().add(getJLabel52());
		getContentPane().add(getJLabel34());
		getContentPane().add(getJLabel39());
		getContentPane().add(getJLabel44());
		getContentPane().add(getJLabel49());
		getContentPane().add(getJLabel54());
		getContentPane().add(getJLabel59());
		getContentPane().add(getJLabel69());
		getContentPane().add(getJLabel29());
		getContentPane().add(getJLabel27());
		getContentPane().add(getJLabel58());
		getContentPane().add(getJLabel68());
		getContentPane().add(getJLabel53());
		getContentPane().add(getJLabel48());
		getContentPane().add(getJLabel43());
		getContentPane().add(getJLabel38());
		getContentPane().add(getJLabel33());
		getContentPane().add(getJLabel62());
		getContentPane().add(getJLabel64());
		getContentPane().add(getJLabel63());
		getContentPane().add(getJLabel28());
		getContentPane().add(getJLabel23());
		getContentPane().add(getVo2MaxLabel());
		getContentPane().add(getJLabel3());
		getContentPane().add(getJTextField0());
		getContentPane().add(getJLabel0());
		getContentPane().add(getJLabel1());
		getContentPane().add(getJLabel4());
		getContentPane().add(getJLabel5());
		getContentPane().add(getJLabel70());
		getContentPane().add(getBtnCap());
		setSize(1300, 585);
	}

	private JLabel getJLabel70() {
		if (jLabel70 == null) {
			jLabel70 = new JLabel();
			jLabel70.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel70.setBounds(973, 89, 113, 25);
			jLabel70.setText("Km/H");
		}
		return jLabel70;
	}

	private JLabel getJLabel3() {
		if (jLabel3 == null) {
			jLabel3 = new JLabel();
			jLabel3.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel3.setBounds(973, 42, 113, 25);
			jLabel3.setText("ML/Min/Kg");
		}
		return jLabel3;
	}

	private JLabel getJLabel69() {
		if (n4_1000 == null) {
			n4_1000 = new JLabel();
			n4_1000.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n4_1000.setBounds(1155, 463, 90, 25);
		}
		return n4_1000;
	}

	private JLabel getJLabel68() {
		if (n3_1000 == null) {
			n3_1000 = new JLabel();
			n3_1000.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n3_1000.setBounds(1155, 413, 90, 25);
		}
		return n3_1000;
	}

	private JLabel getJLabel67() {
		if (n2_1000 == null) {
			n2_1000 = new JLabel();
			n2_1000.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n2_1000.setBounds(1155, 363, 90, 25);
		}
		return n2_1000;
	}

	private JLabel getJLabel66() {
		if (n1_1000 == null) {
			n1_1000 = new JLabel();
			n1_1000.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n1_1000.setBounds(1155, 313, 90, 25);
		}
		return n1_1000;
	}

	private JLabel getJLabel65() {
		if (base1000 == null) {
			base1000 = new JLabel();
			base1000.setFont(new Font("Tahoma", Font.PLAIN, 21));
			base1000.setBounds(1155, 263, 90, 25);
			base1000.setDoubleBuffered(true);
		}
		return base1000;
	}

	private JLabel getJLabel64() {
		if (n4_900 == null) {
			n4_900 = new JLabel();
			n4_900.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n4_900.setBounds(1055, 463, 90, 25);
		}
		return n4_900;
	}

	private JLabel getJLabel63() {
		if (n3_900 == null) {
			n3_900 = new JLabel();
			n3_900.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n3_900.setBounds(1055, 413, 90, 25);
		}
		return n3_900;
	}

	private JLabel getJLabel62() {
		if (n2_900 == null) {
			n2_900 = new JLabel();
			n2_900.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n2_900.setBounds(1055, 363, 90, 25);
		}
		return n2_900;
	}

	private JLabel getJLabel61() {
		if (n1_900 == null) {
			n1_900 = new JLabel();
			n1_900.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n1_900.setBounds(1055, 313, 90, 25);
		}
		return n1_900;
	}

	private JLabel getJLabel60() {
		if (base900 == null) {
			base900 = new JLabel();
			base900.setFont(new Font("Tahoma", Font.PLAIN, 21));
			base900.setBounds(1055, 263, 90, 25);
		}
		return base900;
	}

	private JLabel getJLabel59() {
		if (n4_800 == null) {
			n4_800 = new JLabel();
			n4_800.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n4_800.setBounds(955, 463, 90, 25);
		}
		return n4_800;
	}

	private JLabel getJLabel58() {
		if (n3_800 == null) {
			n3_800 = new JLabel();
			n3_800.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n3_800.setBounds(955, 413, 90, 25);
		}
		return n3_800;
	}

	private JLabel getJLabel57() {
		if (n2_800 == null) {
			n2_800 = new JLabel();
			n2_800.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n2_800.setBounds(955, 363, 90, 25);
		}
		return n2_800;
	}

	private JLabel getJLabel56() {
		if (n1_800 == null) {
			n1_800 = new JLabel();
			n1_800.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n1_800.setBounds(955, 313, 90, 25);
		}
		return n1_800;
	}

	private JLabel getJLabel55() {
		if (base800 == null) {
			base800 = new JLabel();
			base800.setFont(new Font("Tahoma", Font.PLAIN, 21));
			base800.setBounds(955, 263, 90, 25);
		}
		return base800;
	}

	private JLabel getJLabel54() {
		if (n4_700 == null) {
			n4_700 = new JLabel();
			n4_700.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n4_700.setBounds(855, 463, 90, 25);
		}
		return n4_700;
	}

	private JLabel getJLabel53() {
		if (n3_700 == null) {
			n3_700 = new JLabel();
			n3_700.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n3_700.setBounds(855, 413, 90, 25);
		}
		return n3_700;
	}

	private JLabel getJLabel52() {
		if (n2_700 == null) {
			n2_700 = new JLabel();
			n2_700.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n2_700.setBounds(855, 363, 90, 25);
		}
		return n2_700;
	}

	private JLabel getJLabel51() {
		if (n1_700 == null) {
			n1_700 = new JLabel();
			n1_700.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n1_700.setBounds(855, 313, 90, 25);
		}
		return n1_700;
	}

	private JLabel getJLabel50() {
		if (base700 == null) {
			base700 = new JLabel();
			base700.setFont(new Font("Tahoma", Font.PLAIN, 21));
			base700.setBounds(855, 263, 90, 25);
		}
		return base700;
	}

	private JLabel getJLabel49() {
		if (n4_600 == null) {
			n4_600 = new JLabel();
			n4_600.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n4_600.setBounds(755, 463, 90, 25);
		}
		return n4_600;
	}

	private JLabel getJLabel48() {
		if (n3_600 == null) {
			n3_600 = new JLabel();
			n3_600.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n3_600.setBounds(755, 413, 90, 25);
		}
		return n3_600;
	}

	private JLabel getJLabel47() {
		if (n2_600 == null) {
			n2_600 = new JLabel();
			n2_600.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n2_600.setBounds(755, 363, 90, 25);
		}
		return n2_600;
	}

	private JLabel getJLabel46() {
		if (n1_600 == null) {
			n1_600 = new JLabel();
			n1_600.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n1_600.setBounds(755, 313, 90, 25);
		}
		return n1_600;
	}

	private JLabel getJLabel45() {
		if (base600 == null) {
			base600 = new JLabel();
			base600.setFont(new Font("Tahoma", Font.PLAIN, 21));
			base600.setBounds(755, 263, 90, 25);
		}
		return base600;
	}

	private JLabel getJLabel44() {
		if (n4_500 == null) {
			n4_500 = new JLabel();
			n4_500.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n4_500.setBounds(655, 463, 90, 25);
		}
		return n4_500;
	}

	private JLabel getJLabel43() {
		if (n3_500 == null) {
			n3_500 = new JLabel();
			n3_500.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n3_500.setBounds(655, 413, 90, 25);
		}
		return n3_500;
	}

	private JLabel getJLabel42() {
		if (n2_500 == null) {
			n2_500 = new JLabel();
			n2_500.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n2_500.setBounds(655, 363, 90, 25);
		}
		return n2_500;
	}

	private JLabel getJLabel41() {
		if (n1_500 == null) {
			n1_500 = new JLabel();
			n1_500.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n1_500.setBounds(655, 313, 90, 25);
		}
		return n1_500;
	}

	private JLabel getJLabel40() {
		if (base500 == null) {
			base500 = new JLabel();
			base500.setFont(new Font("Tahoma", Font.PLAIN, 21));
			base500.setBounds(655, 263, 90, 25);
		}
		return base500;
	}

	private JLabel getJLabel39() {
		if (n4_400 == null) {
			n4_400 = new JLabel();
			n4_400.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n4_400.setBounds(555, 463, 90, 25);
		}
		return n4_400;
	}

	private JLabel getJLabel38() {
		if (n3_400 == null) {
			n3_400 = new JLabel();
			n3_400.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n3_400.setBounds(555, 413, 90, 25);
		}
		return n3_400;
	}

	private JLabel getJLabel37() {
		if (n2_400 == null) {
			n2_400 = new JLabel();
			n2_400.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n2_400.setBounds(555, 363, 90, 25);
		}
		return n2_400;
	}

	private JLabel getJLabel36() {
		if (n1_400 == null) {
			n1_400 = new JLabel();
			n1_400.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n1_400.setBounds(555, 313, 90, 25);
		}
		return n1_400;
	}

	private JLabel getJLabel35() {
		if (base400 == null) {
			base400 = new JLabel();
			base400.setFont(new Font("Tahoma", Font.PLAIN, 21));
			base400.setBounds(555, 263, 90, 25);
		}
		return base400;
	}

	private JLabel getJLabel34() {
		if (n4_300 == null) {
			n4_300 = new JLabel();
			n4_300.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n4_300.setBounds(455, 463, 90, 25);
		}
		return n4_300;
	}

	private JLabel getJLabel33() {
		if (n3_300 == null) {
			n3_300 = new JLabel();
			n3_300.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n3_300.setBounds(455, 413, 90, 25);
		}
		return n3_300;
	}

	private JLabel getJLabel32() {
		if (n2_300 == null) {
			n2_300 = new JLabel();
			n2_300.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n2_300.setBounds(455, 363, 90, 25);
		}
		return n2_300;
	}

	private JLabel getJLabel31() {
		if (n1_300 == null) {
			n1_300 = new JLabel();
			n1_300.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n1_300.setBounds(455, 313, 90, 25);
		}
		return n1_300;
	}

	private JLabel getJLabel30() {
		if (base300 == null) {
			base300 = new JLabel();
			base300.setFont(new Font("Tahoma", Font.PLAIN, 21));
			base300.setBounds(455, 263, 90, 25);
		}
		return base300;
	}

	private JLabel getJLabel29() {
		if (n4_200 == null) {
			n4_200 = new JLabel();
			n4_200.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n4_200.setBounds(355, 463, 90, 25);
		}
		return n4_200;
	}

	private JLabel getJLabel28() {
		if (n3_200 == null) {
			n3_200 = new JLabel();
			n3_200.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n3_200.setBounds(355, 413, 90, 25);
		}
		return n3_200;
	}

	private JLabel getJLabel27() {
		if (n2_200 == null) {
			n2_200 = new JLabel();
			n2_200.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n2_200.setBounds(355, 363, 90, 25);
		}
		return n2_200;
	}

	private JLabel getJLabel26() {
		if (n1_200 == null) {
			n1_200 = new JLabel();
			n1_200.setFont(new Font("Tahoma", Font.PLAIN, 21));
			n1_200.setBounds(355, 313, 90, 25);
		}
		return n1_200;
	}

	private JLabel getJLabel25() {
		if (base200 == null) {
			base200 = new JLabel();
			base200.setFont(new Font("Tahoma", Font.PLAIN, 21));
			base200.setBounds(355, 263, 90, 25);
		}
		return base200;
	}

	private JLabel getJLabel24() {
		if (jLabel24 == null) {
			jLabel24 = new JLabel();
			jLabel24.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel24.setBounds(1155, 213, 90, 25);
			jLabel24.setText("1000 Mts.");
		}
		return jLabel24;
	}

	private JLabel getJLabel23() {
		if (jLabel23 == null) {
			jLabel23 = new JLabel();
			jLabel23.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel23.setBounds(1055, 213, 90, 25);
			jLabel23.setText("900 Mts.");
		}
		return jLabel23;
	}

	private JLabel getJLabel22() {
		if (jLabel22 == null) {
			jLabel22 = new JLabel();
			jLabel22.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel22.setBounds(955, 213, 90, 25);
			jLabel22.setText("800 Mts.");
		}
		return jLabel22;
	}

	private JLabel getJLabel21() {
		if (jLabel21 == null) {
			jLabel21 = new JLabel();
			jLabel21.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel21.setBounds(855, 213, 90, 25);
			jLabel21.setText("700 Mts.");
		}
		return jLabel21;
	}

	private JLabel getJLabel20() {
		if (jLabel20 == null) {
			jLabel20 = new JLabel();
			jLabel20.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel20.setBounds(755, 213, 90, 25);
			jLabel20.setText("600 Mts.");
		}
		return jLabel20;
	}

	private JLabel getJLabel19() {
		if (jLabel19 == null) {
			jLabel19 = new JLabel();
			jLabel19.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel19.setBounds(655, 213, 90, 25);
			jLabel19.setText("500 Mts.");
		}
		return jLabel19;
	}

	private JLabel getJLabel18() {
		if (jLabel18 == null) {
			jLabel18 = new JLabel();
			jLabel18.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel18.setBounds(555, 213, 90, 25);
			jLabel18.setText("400 Mts.");
		}
		return jLabel18;
	}

	private JLabel getJLabel17() {
		if (jLabel17 == null) {
			jLabel17 = new JLabel();
			jLabel17.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel17.setBounds(455, 213, 90, 25);
			jLabel17.setText("300 Mts.");
		}
		return jLabel17;
	}

	private JLabel getJLabel16() {
		if (jLabel16 == null) {
			jLabel16 = new JLabel();
			jLabel16.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel16.setBounds(355, 213, 90, 25);
			jLabel16.setText("200 Mts.");
		}
		return jLabel16;
	}

	private JLabel getJLabel14() {
		if (jLabel14 == null) {
			jLabel14 = new JLabel();
			jLabel14.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel14.setBounds(32, 463, 311, 25);
			jLabel14.setText("N4 (105 %) Glucolitico");
		}
		return jLabel14;
	}

	private JLabel getJLabel12() {
		if (jLabel12 == null) {
			jLabel12 = new JLabel();
			jLabel12.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel12.setBounds(32, 413, 311, 25);
			jLabel12.setText("N3 (100 %) VO2 Máximo");
		}
		return jLabel12;
	}

	private JLabel getJLabel10() {
		if (jLabel10 == null) {
			jLabel10 = new JLabel();
			jLabel10.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel10.setBounds(32, 363, 311, 25);
			jLabel10.setText("N2 (87.5 %) Umbral Anaeróbico");
		}
		return jLabel10;
	}

	private JLabel getJLabel8() {
		if (jLabel8 == null) {
			jLabel8 = new JLabel();
			jLabel8.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel8.setBounds(32, 313, 311, 25);
			jLabel8.setText("N1 (77.5 %) Rog de Base");
		}
		return jLabel8;
	}

	private JLabel getJLabel6() {
		if (jLabel6 == null) {
			jLabel6 = new JLabel();
			jLabel6.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel6.setBounds(32, 263, 311, 25);
			jLabel6.setText("Base (72.5 %) Lipolisis");
		}
		return jLabel6;
	}

	private JLabel getJLabel5() {
		if (velLabel == null) {
			velLabel = new JLabel();
			velLabel.setFont(new Font("Tahoma", Font.PLAIN, 21));
			velLabel.setBounds(886, 89, 77, 25);
		}
		return velLabel;
	}

	private JLabel getJLabel4() {
		if (jLabel4 == null) {
			jLabel4 = new JLabel();
			jLabel4.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel4.setBounds(662, 89, 214, 25);
			jLabel4.setText("Velocidad Media:");
		}
		return jLabel4;
	}

	private JLabel getVo2MaxLabel() {
		if (vo2MaxLabel == null) {
			vo2MaxLabel = new JLabel();
			vo2MaxLabel.setFont(new Font("Tahoma", Font.PLAIN, 21));
			vo2MaxLabel.setBounds(886, 42, 77, 25);
		}
		return vo2MaxLabel;
	}

	private JLabel getJLabel2() {
		if (jLabel2 == null) {
			jLabel2 = new JLabel();
			jLabel2.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel2.setBounds(662, 42, 214, 25);
			jLabel2.setText("VO2 Máximo Relativo:");
		}
		return jLabel2;
	}

	private JLabel getJLabel1() {
		if (jLabel1 == null) {
			jLabel1 = new JLabel();
			jLabel1.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel1.setBounds(555, 42, 48, 25);
			jLabel1.setText("Mts");
		}
		return jLabel1;
	}

	private JTextField getJTextField0() {
		if (metrosTextField == null) {
			metrosTextField = new JTextField();
			metrosTextField.setFont(new Font("Tahoma", Font.PLAIN, 21));
			metrosTextField.setBounds(480, 41, 65, 25);
		}
		return metrosTextField;
	}

	private JLabel getJLabel0() {
		if (jLabel0 == null) {
			jLabel0 = new JLabel();
			jLabel0.setFont(new Font("Tahoma", Font.PLAIN, 21));
			jLabel0.setBounds(179, 42, 295, 25);
			jLabel0.setText("Metros recorridos en 12 min.");
		}
		return jLabel0;
	}

	
	////////////************************************************************////////////////////////////
	
	
	
	
	public void setActionListeners(final TestController testController)
	{
		metrosTextField.setActionCommand(Comandos.CALCULAR_TEST.toString());
		metrosTextField.addActionListener(testController);
		
		btnCap.setActionCommand(Comandos.CAPTURA.toString());
		btnCap.addActionListener(testController);
	}
	
	public String getMetros()
	{
		String metros;
		metros = metrosTextField.getText();
		return metros;
	}
	
	public void setvo2MaxLabel(String vo2)
	{
		vo2MaxLabel.setText(vo2);
	}
	
	public void setvelLabel(String vel)
	{
		velLabel.setText(vel);
	}
	
	public void setN3(String nivel3_200,String nivel3_300,String nivel3_400,String nivel3_500,String nivel3_600,
						String nivel3_700,String nivel3_800,String nivel3_900, String nivel3_1000)
	{
		n3_200.setText(nivel3_200);
		n3_300.setText(nivel3_300);
		n3_400.setText(nivel3_400);
		n3_500.setText(nivel3_500);
		n3_600.setText(nivel3_600);
		n3_700.setText(nivel3_700);
		n3_800.setText(nivel3_800);
		n3_900.setText(nivel3_900);
		n3_1000.setText(nivel3_1000);
	}
	
	public void setN2(String nivel2_200,String nivel2_300,String nivel2_400,String nivel2_500,String nivel2_600,
						String nivel2_700,String nivel2_800,String nivel2_900, String nivel2_1000)
	{
		n2_200.setText(nivel2_200);
		n2_300.setText(nivel2_300);
		n2_400.setText(nivel2_400);
		n2_500.setText(nivel2_500);
		n2_600.setText(nivel2_600);
		n2_700.setText(nivel2_700);
		n2_800.setText(nivel2_800);
		n2_900.setText(nivel2_900);
		n2_1000.setText(nivel2_1000);
	}
	
	public void setN1(String nivel1_200,String nivel1_300,String nivel1_400,String nivel1_500,String nivel1_600,
						String nivel1_700,String nivel1_800,String nivel1_900, String nivel1_1000)
	{
		n1_200.setText(nivel1_200);
		n1_300.setText(nivel1_300);
		n1_400.setText(nivel1_400);
		n1_500.setText(nivel1_500);
		n1_600.setText(nivel1_600);
		n1_700.setText(nivel1_700);
		n1_800.setText(nivel1_800);
		n1_900.setText(nivel1_900);
		n1_1000.setText(nivel1_1000);
	}
	
	public void setN4(String nivel4_200,String nivel4_300,String nivel4_400,String nivel4_500,String nivel4_600,
						String nivel4_700,String nivel4_800,String nivel4_900, String nivel4_1000)
	{
		n4_200.setText(nivel4_200);
		n4_300.setText(nivel4_300);
		n4_400.setText(nivel4_400);
		n4_500.setText(nivel4_500);
		n4_600.setText(nivel4_600);
		n4_700.setText(nivel4_700);
		n4_800.setText(nivel4_800);
		n4_900.setText(nivel4_900);
		n4_1000.setText(nivel4_1000);
	}
	
	public void setBase(String base_200,String base_300,String base_400,String base_500, String base_600,
						String base_700,String base_800,String base_900, String base_1000)
	{
		base200.setText(base_200);
		base300.setText(base_300);
		base400.setText(base_400);
		base500.setText(base_500);
		base600.setText(base_600);
		base700.setText(base_700);
		base800.setText(base_800);
		base900.setText(base_900);
		base1000.setText(base_1000);
	}
	private JButton getBtnCap() {
		if (btnCap == null) {
			btnCap = new JButton("CAP");
			btnCap.setFont(new Font("Tahoma", Font.PLAIN, 16));
			btnCap.setBounds(1206, 11, 78, 23);
		}
		return btnCap;
	}
}
